SRCS:=$(wildcard Sources/*.c)
OBJS:= $(patsubst Sources/%.c,Sources/%.o,$(SRCS))
CC:= gcc
main: $(OBJS)
	$(CC) $^ -o $@ -pthread -g -lpthread -lsqlite3
%.o:%.cpp
	$(CC) -c $^ -o $@ -g
clean:
	$(RM) $(OBJS) main
rebuild:clean main

